make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Tue, 7 Sep 2021 19:57:34 +0000 (20:57 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 7 Sep 2021 19:57:34 +0000 (20:57 +0100)
commit6dc0788f51fe24229f71543c5292ca629cef1bdb
tree9596860fee5170c185026834a8afad6dbfa4eaf1
parent5635375073df4f5e643bf677e967dcfa5bed6025
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c